package yf.mall.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author 
 * 商品素材关联表
 */
@Data
public class AppProductMaterialEntity implements Serializable {
    /**
     * 主键，
     */
    private Long id;

    /**
     * 素材ID
     */
    private Long materialId;

    /**
     * 商品ID
     */
    private Long pid;

    public AppProductMaterialEntity(Long materialId, Long pid, Date createTime) {
        this.materialId = materialId;
        this.pid = pid;
        this.createTime = createTime;
        this.remark="";
    }

    public AppProductMaterialEntity() {
    }

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;
}